package cn.lingyangwl.agile.misc.statistic.constant;

/**
 * 统计相关常量
 * @author shenguangyang
 */
public interface StatisticCons {
    String EXCHANGE = "statistic";

    /**
     * arg0: 租户id
     * arg1: 时间格式为 yyyyMMdd
     * arg2: 是否成功
     */
    String ACCESS_KEY = "statistic:access:%s:%s:%s";

    /**
     * arg0: 租户id
     * arg1: 时间格式为 yyyyMMdd
     * arg2: 是否为登录
     */
    String LOGIN_LOGOUT_KEY = "statistic:login:%s:%s:%s";

    String QUEUE_DAYS = "statistic_dim_day";
    String QUEUE_HOUR = "statistic_dim_hour";
}
